<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>层级选择器</title>
    <script src="https://libs.baidu.com/jquery/2.1.1/jquery.min.js"></script>

</head>
<body>
<ul id="aa">
    <li>li1</li>
    <li>li2
        <ul>
            <li>li2-1</li>
            <li>li2-2</li>
            <li>li2-3</li>
        </ul>
    </li>
    <li>li3</li>
</ul>
<div>div1</div>
<div>div2</div>
<div>div3
    <div>div3-1</div>
    <div>div3-2</div>
</div>
<script type="text/javascript" src="../static/hierarchy.js"></script>
</body>
</html>